package demo1104.demo02;

import java.util.function.Predicate;

/**
 * @author JYH
 * @version 1.0
 * @date 2022/11/4 15:55
 */
public class TestPredicate {
    public static void main(String[] args) {
        Predicate<String> predicate = s -> s.startsWith("蒋");
        boolean j = predicate.test("蒋艳航");
        System.out.println(j);
    }
}
